package com.xxb.test;

import com.xxb.dao.AdminDao;
import com.xxb.entity.Admin;

import junit.framework.TestCase;

public class AdminDaoTestCase extends TestCase {
	private AdminDao dao;
	
	@Override
	protected void setUp() throws Exception {
		dao = new AdminDao();
	}
	
	public void testLogin(){
		Admin admin = dao.login("tom","000");
		assertNotNull(admin);
	}
}
